﻿// This code is released under the BSD license.
namespace PugLib.Filters
{
    using System.ComponentModel;

    public enum MatchStyle
    {
        None = 0,
        Any,
        All
    }

    public enum SearchOperator
    {
        [Description("contains")]
        Contains,

        [Description("does not contain")]
        DoesNotContain,

        [Description("is")]
        Is,

        [Description("is not")]
        IsNot,

        [Description("starts with")]
        StartsWith,

        [Description("ends with")]
        EndsWith,

        [Description("is before")]
        IsBefore,

        [Description("is after")]
        IsAfter,

        [Description("is less than")]
        IsLessThan,

        [Description("is greater than")]
        IsGreaterThan,

        [Description("within the past number of days: ")]
        WithinThePastDays,
    }
}